﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RamDrive
{
	class Program
	{
		[STAThread]
		static void Main(string[] args)
		{
			var fileDialog = new OpenFileDialog();

			if (fileDialog.ShowDialog() != DialogResult.OK)
			{
				return;
			}

			RamDriveHost.Host(fileDialog.FileName);

			//RamDriveHost.Host(@"c:\users\timothy\desktop\test.txt");

			Console.WriteLine("Press [ENTER] to quit.");

			Console.ReadLine();
		}
	}
}
